package com.zimin.common.utils;

import cn.hutool.core.util.IdUtil;

import java.util.Locale;
import java.util.UUID;

/**
 * @author zimin
 * @since 2022/3/18 10:32 上午
 */
public class IdUtils extends IdUtil {

    /**
     * <p>UUID大写</p>
     *
     * @param
     * @return java.lang.String
     * @since 2022-03-18 10:34:02
     */
    public static String upperUUID() {
        return UUID.randomUUID().toString().replace("-", "").toUpperCase(Locale.ROOT);
    }

    public static void main(String[] args) {
        System.out.println(upperUUID());
    }

}
